package me.idashu.attg.persistence;

import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.GoodsEntity;

public interface GoodesMapper {

	public void insertGoodsEntityInfo(GoodsEntity goodsEntity);

	public List<GoodsEntity> findGoodsByPage(Map<String, Object> map);

	public int findCountGoodsByPage(GoodsEntity goodsEntity);
	
	public GoodsEntity findGoodById(long id);
	
	public void deleteGoodsById(long id);
	
	public List<GoodsEntity> findAllGoodsByPage(Map<String, Object> map);
	
	public int findCountAllGoodsByPage(Map<String, Object> map);
	
	public List<GoodsEntity> searchGoodsEntity(GoodsEntity goodsEntity);
	
	public List<GoodsEntity> findGoodesByShopId(long shopId);
	
}
